/**
 * output package name
 */
package com.kingdee.eas.custom.eb;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class SPType extends StringEnum
{
    public static final String SP_VALUE = "10";
    public static final String KY_VALUE = "20";

    public static final SPType sp = new SPType("sp", SP_VALUE);
    public static final SPType ky = new SPType("ky", KY_VALUE);

    /**
     * construct function
     * @param String sPType
     */
    private SPType(String name, String sPType)
    {
        super(name, sPType);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static SPType getEnum(String sPType)
    {
        return (SPType)getEnum(SPType.class, sPType);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(SPType.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(SPType.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(SPType.class);
    }
}